package com.itic.ht.cms.examrecord.persistence.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.itic.appbase.framework.common.persistence.model.BaseExample;

public class ExamRecordExample extends BaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExamRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("ACCOUNT is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("ACCOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(String value) {
            addCriterion("ACCOUNT =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(String value) {
            addCriterion("ACCOUNT <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(String value) {
            addCriterion("ACCOUNT >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNT >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(String value) {
            addCriterion("ACCOUNT <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNT <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLike(String value) {
            addCriterion("ACCOUNT like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotLike(String value) {
            addCriterion("ACCOUNT not like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<String> values) {
            addCriterion("ACCOUNT in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<String> values) {
            addCriterion("ACCOUNT not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(String value1, String value2) {
            addCriterion("ACCOUNT between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(String value1, String value2) {
            addCriterion("ACCOUNT not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNull() {
            addCriterion("REAL_NAME is null");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNotNull() {
            addCriterion("REAL_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameEqualTo(String value) {
            addCriterion("REAL_NAME =", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotEqualTo(String value) {
            addCriterion("REAL_NAME <>", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThan(String value) {
            addCriterion("REAL_NAME >", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("REAL_NAME >=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThan(String value) {
            addCriterion("REAL_NAME <", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThanOrEqualTo(String value) {
            addCriterion("REAL_NAME <=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLike(String value) {
            addCriterion("REAL_NAME like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotLike(String value) {
            addCriterion("REAL_NAME not like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameIn(List<String> values) {
            addCriterion("REAL_NAME in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotIn(List<String> values) {
            addCriterion("REAL_NAME not in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameBetween(String value1, String value2) {
            addCriterion("REAL_NAME between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotBetween(String value1, String value2) {
            addCriterion("REAL_NAME not between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andExamIdIsNull() {
            addCriterion("EXAM_ID is null");
            return (Criteria) this;
        }

        public Criteria andExamIdIsNotNull() {
            addCriterion("EXAM_ID is not null");
            return (Criteria) this;
        }

        public Criteria andExamIdEqualTo(String value) {
            addCriterion("EXAM_ID =", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdNotEqualTo(String value) {
            addCriterion("EXAM_ID <>", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdGreaterThan(String value) {
            addCriterion("EXAM_ID >", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdGreaterThanOrEqualTo(String value) {
            addCriterion("EXAM_ID >=", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdLessThan(String value) {
            addCriterion("EXAM_ID <", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdLessThanOrEqualTo(String value) {
            addCriterion("EXAM_ID <=", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdLike(String value) {
            addCriterion("EXAM_ID like", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdNotLike(String value) {
            addCriterion("EXAM_ID not like", value, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdIn(List<String> values) {
            addCriterion("EXAM_ID in", values, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdNotIn(List<String> values) {
            addCriterion("EXAM_ID not in", values, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdBetween(String value1, String value2) {
            addCriterion("EXAM_ID between", value1, value2, "examId");
            return (Criteria) this;
        }

        public Criteria andExamIdNotBetween(String value1, String value2) {
            addCriterion("EXAM_ID not between", value1, value2, "examId");
            return (Criteria) this;
        }

        public Criteria andExamProgressIsNull() {
            addCriterion("EXAM_PROGRESS is null");
            return (Criteria) this;
        }

        public Criteria andExamProgressIsNotNull() {
            addCriterion("EXAM_PROGRESS is not null");
            return (Criteria) this;
        }

        public Criteria andExamProgressEqualTo(String value) {
            addCriterion("EXAM_PROGRESS =", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressNotEqualTo(String value) {
            addCriterion("EXAM_PROGRESS <>", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressGreaterThan(String value) {
            addCriterion("EXAM_PROGRESS >", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressGreaterThanOrEqualTo(String value) {
            addCriterion("EXAM_PROGRESS >=", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressLessThan(String value) {
            addCriterion("EXAM_PROGRESS <", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressLessThanOrEqualTo(String value) {
            addCriterion("EXAM_PROGRESS <=", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressLike(String value) {
            addCriterion("EXAM_PROGRESS like", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressNotLike(String value) {
            addCriterion("EXAM_PROGRESS not like", value, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressIn(List<String> values) {
            addCriterion("EXAM_PROGRESS in", values, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressNotIn(List<String> values) {
            addCriterion("EXAM_PROGRESS not in", values, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressBetween(String value1, String value2) {
            addCriterion("EXAM_PROGRESS between", value1, value2, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamProgressNotBetween(String value1, String value2) {
            addCriterion("EXAM_PROGRESS not between", value1, value2, "examProgress");
            return (Criteria) this;
        }

        public Criteria andExamResultIsNull() {
            addCriterion("EXAM_RESULT is null");
            return (Criteria) this;
        }

        public Criteria andExamResultIsNotNull() {
            addCriterion("EXAM_RESULT is not null");
            return (Criteria) this;
        }

        public Criteria andExamResultEqualTo(String value) {
            addCriterion("EXAM_RESULT =", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultNotEqualTo(String value) {
            addCriterion("EXAM_RESULT <>", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultGreaterThan(String value) {
            addCriterion("EXAM_RESULT >", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultGreaterThanOrEqualTo(String value) {
            addCriterion("EXAM_RESULT >=", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultLessThan(String value) {
            addCriterion("EXAM_RESULT <", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultLessThanOrEqualTo(String value) {
            addCriterion("EXAM_RESULT <=", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultLike(String value) {
            addCriterion("EXAM_RESULT like", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultNotLike(String value) {
            addCriterion("EXAM_RESULT not like", value, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultIn(List<String> values) {
            addCriterion("EXAM_RESULT in", values, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultNotIn(List<String> values) {
            addCriterion("EXAM_RESULT not in", values, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultBetween(String value1, String value2) {
            addCriterion("EXAM_RESULT between", value1, value2, "examResult");
            return (Criteria) this;
        }

        public Criteria andExamResultNotBetween(String value1, String value2) {
            addCriterion("EXAM_RESULT not between", value1, value2, "examResult");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("CATEGORY_ID is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("CATEGORY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(String value) {
            addCriterion("CATEGORY_ID =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(String value) {
            addCriterion("CATEGORY_ID <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(String value) {
            addCriterion("CATEGORY_ID >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY_ID >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(String value) {
            addCriterion("CATEGORY_ID <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(String value) {
            addCriterion("CATEGORY_ID <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLike(String value) {
            addCriterion("CATEGORY_ID like", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotLike(String value) {
            addCriterion("CATEGORY_ID not like", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<String> values) {
            addCriterion("CATEGORY_ID in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<String> values) {
            addCriterion("CATEGORY_ID not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(String value1, String value2) {
            addCriterion("CATEGORY_ID between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(String value1, String value2) {
            addCriterion("CATEGORY_ID not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andMemPointsIsNull() {
            addCriterion("MEM_POINTS is null");
            return (Criteria) this;
        }

        public Criteria andMemPointsIsNotNull() {
            addCriterion("MEM_POINTS is not null");
            return (Criteria) this;
        }

        public Criteria andMemPointsEqualTo(Integer value) {
            addCriterion("MEM_POINTS =", value, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsNotEqualTo(Integer value) {
            addCriterion("MEM_POINTS <>", value, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsGreaterThan(Integer value) {
            addCriterion("MEM_POINTS >", value, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsGreaterThanOrEqualTo(Integer value) {
            addCriterion("MEM_POINTS >=", value, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsLessThan(Integer value) {
            addCriterion("MEM_POINTS <", value, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsLessThanOrEqualTo(Integer value) {
            addCriterion("MEM_POINTS <=", value, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsIn(List<Integer> values) {
            addCriterion("MEM_POINTS in", values, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsNotIn(List<Integer> values) {
            addCriterion("MEM_POINTS not in", values, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsBetween(Integer value1, Integer value2) {
            addCriterion("MEM_POINTS between", value1, value2, "memPoints");
            return (Criteria) this;
        }

        public Criteria andMemPointsNotBetween(Integer value1, Integer value2) {
            addCriterion("MEM_POINTS not between", value1, value2, "memPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsIsNull() {
            addCriterion("SUM_POINTS is null");
            return (Criteria) this;
        }

        public Criteria andSumPointsIsNotNull() {
            addCriterion("SUM_POINTS is not null");
            return (Criteria) this;
        }

        public Criteria andSumPointsEqualTo(Integer value) {
            addCriterion("SUM_POINTS =", value, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsNotEqualTo(Integer value) {
            addCriterion("SUM_POINTS <>", value, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsGreaterThan(Integer value) {
            addCriterion("SUM_POINTS >", value, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsGreaterThanOrEqualTo(Integer value) {
            addCriterion("SUM_POINTS >=", value, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsLessThan(Integer value) {
            addCriterion("SUM_POINTS <", value, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsLessThanOrEqualTo(Integer value) {
            addCriterion("SUM_POINTS <=", value, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsIn(List<Integer> values) {
            addCriterion("SUM_POINTS in", values, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsNotIn(List<Integer> values) {
            addCriterion("SUM_POINTS not in", values, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsBetween(Integer value1, Integer value2) {
            addCriterion("SUM_POINTS between", value1, value2, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andSumPointsNotBetween(Integer value1, Integer value2) {
            addCriterion("SUM_POINTS not between", value1, value2, "sumPoints");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("CTIME is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("CTIME is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Date value) {
            addCriterion("CTIME =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Date value) {
            addCriterion("CTIME <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Date value) {
            addCriterion("CTIME >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CTIME >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Date value) {
            addCriterion("CTIME <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Date value) {
            addCriterion("CTIME <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Date> values) {
            addCriterion("CTIME in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Date> values) {
            addCriterion("CTIME not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Date value1, Date value2) {
            addCriterion("CTIME between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Date value1, Date value2) {
            addCriterion("CTIME not between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNull() {
            addCriterion("MTIME is null");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNotNull() {
            addCriterion("MTIME is not null");
            return (Criteria) this;
        }

        public Criteria andMtimeEqualTo(Date value) {
            addCriterion("MTIME =", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotEqualTo(Date value) {
            addCriterion("MTIME <>", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThan(Date value) {
            addCriterion("MTIME >", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("MTIME >=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThan(Date value) {
            addCriterion("MTIME <", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThanOrEqualTo(Date value) {
            addCriterion("MTIME <=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeIn(List<Date> values) {
            addCriterion("MTIME in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotIn(List<Date> values) {
            addCriterion("MTIME not in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeBetween(Date value1, Date value2) {
            addCriterion("MTIME between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotBetween(Date value1, Date value2) {
            addCriterion("MTIME not between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("DEL_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("DEL_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Integer value) {
            addCriterion("DEL_FLAG =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Integer value) {
            addCriterion("DEL_FLAG <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Integer value) {
            addCriterion("DEL_FLAG >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("DEL_FLAG >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Integer value) {
            addCriterion("DEL_FLAG <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Integer value) {
            addCriterion("DEL_FLAG <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Integer> values) {
            addCriterion("DEL_FLAG in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Integer> values) {
            addCriterion("DEL_FLAG not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Integer value1, Integer value2) {
            addCriterion("DEL_FLAG between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("DEL_FLAG not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}